package com.ftf.tp.blog.domain.configuration.repository;

import com.ftf.tp.blog.domain.article.aggregate.ArticleAgg;
import com.ftf.tp.blog.domain.configuration.dos.ColumnDO;

import java.util.List;

/**
 * @author tanghao
 * @date 2022/7/28
 */
public interface ColumnRepository {

    void addColumnByUser(ColumnDO columnDO);

    void updateColumnByAddBlog(List<ColumnDO> columnDOList);

    List<ColumnDO> getColumnByUserId(Long userId);

    List<ColumnDO> getColumnByIdList(List<Long> configureIdList);

    void articleSync(ArticleAgg articleAgg);

    void articleNumUpdate(List<Long> columnIdList, Integer nums);
}
